package com.example.demoapp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//扫描com.example.demoapp.mapper包，这个包的每个接口都有一个src/main/resources/mapper的xml引用
@MapperScan("com.example.demoapp.mapper")
@SpringBootApplication
public class DemoAppApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoAppApplication.class, args);
    }

}
